package cate.game.role.pvp.teampvp.msg;

import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTeamPvp;
import cate.game.pvp.teampvp.dto.TeamPvpPlayerSimpleData;

import java.util.ArrayList;
import java.util.List;

public class TeamPvpInviteApplyListResp implements MsgOutput {
    public List<TeamPvpPlayerSimpleData> list;

    public TeamPvpInviteApplyListResp() {

    }

    public TeamPvpInviteApplyListResp(List<TeamPvpPlayerSimpleData> list) {
        this.list = list;
        if (this.list == null) {
            this.list = new ArrayList<>();
        }
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTeamPvp.APPLY_LIST_RESP;
    }
}
